package com.k1998.mybatis.dao;

import com.k1998.mybatis.bean.Journalism;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public interface IJournalismDao {
    public List<Journalism> findJournalism(@Param("title") String title, @Param("pageStart") int pageStart, @Param("pageSize") int pageSize);
    public int getJournalismCounts(@Param("title") String title);
    public int insertJournalism(Journalism journalism);
    public int updateJournalismById(Journalism journalism);
    public Journalism getJournalismById(Journalism journalism);
    public int batchDeleteJournalism(List<String> list);
}
